package cn.t.enums;

import cn.t.core.enums.Enumer;
import cn.t.core.enums.base.CommonEnum;
import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author l
 */
@Enumer
@Getter
@AllArgsConstructor
public enum CardReaderEnum implements CommonEnum<Integer, String> {

    HID_ONE(1, "HID读卡器_1"),
    ID(2, "ID读卡器"),
    ID_IC(3, "ID/IC一体读卡器"),
    HID_TWO(4, "HID读卡器_2"),
;
    @JsonValue
    @EnumValue
    private final Integer code;
    private final String name;
}